<?php 


		$options = array(	//'metadata_name_value_pairs'	=>	array('product_type_id' => $product_type_id),
						'types'				=>	"object",
						'subtypes'			=>	"county",						
						'limit'				=>	32,
						
					);
		$county_lists = elgg_get_entities_from_metadata($options);


		$options_values = array();
        if($county_lists){
        	foreach ($county_lists as $county_list){
        		$options_values[$county_list->guid] = $county_list->title;
        	}	
        }

        
			$category_view = elgg_view('input/pulldown', array('internalname' => 'storescategory', 
													  'value' => "$category", 
													  'js' => "id='storescategory'", 
													  'options_values' => $options_values));




echo $category_view;
?>

